const getters = {
  Roles (state) {
    const obj = {}

    state.role.map(item => {
      obj[item] = true
    })

    return obj
  }
}

export default getters
